﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>站内信详细内容</title>
    <link href="/css/common.css" rel="stylesheet" type="text/css" /> 
    <link href="/css/account.css" rel="stylesheet" type="text/css" />
    <link href="/css/blog.css" rel="stylesheet" type="text/css" />
	<script src="/js/jquery.js" language="javascript" type="text/javascript"></script>
    <script src="/js/common.js" language="javascript" type="text/javascript"></script>
    <script src="/JS/jyAjax.js" type="text/javascript"></script>
    <link href="/JS/MsgBox/moonbox.css" rel="stylesheet" type="text/css" />
    <script src="/JS/MsgBox/moonbox.js" type="text/javascript"></script>
    <!--[if lt IE 7]> 
		<script src="/js/png.js" language="javascript" type="text/javascript"></script>
    <![endif]-->
    <script src="/js/caretInsert.js" language="javascript" type="text/javascript"></script> 
    <script language="javascript" type="text/javascript">
    	$(function(){
			$("#getFace").click(function(){
				var offset = $(this).offset();
				$(".face").css("left",offset.left);
				$(".face").css("top",offset.top);
				$(".face").fadeIn();
			}),
			$("#closeFace").click(function(){
				$(".face").fadeOut();	
			}),
			$(".face a").click(function(){  
				$('.sblog textarea').setCaret();
        		$('.sblog textarea').insertAtCaret($(this).attr("tag"));
			}),
			$(".blogresend img").click(function(){
				if(this.alt=="删除")
					$(this).parent().parent().fadeOut();
			})
		})
    </script>
</head>
<body>
	$Header$
    <div id="body">
    	<div class="left">
        	$LeftUserCmd$
            $LeftUserFriendAdd$
        </div>
        <div class="right">
        	<ul class="account">
            	<h1 class="blog"><a href="javascript:;" onclick="history.go(-1)">返回上一页</a><p><b>站内信</b></p></h1>
                <li>
                	<div class="accdiv">
                    	<h2>
                            <a href="/Letter/In.aspx" ><span>收件箱</span></a>
                            <a href="/Letter/Out.aspx"><span>发件箱</span></a>
                            <a href="/Letter/Notice.aspx"><span>通知</span></a>
                            <a href="/Letter/Add.aspx"><span>写私信</span></a>
                            <a href="#"  class="last sel"><span>日志内容</span></a>
                        </h2>
                        <ul class="sblog">
                            <li class="title"><span>$PostTime$</span>$Title$</li>
                            <li>$Content$</li>
                            <li><a href="#">回复($CommentCount$)</a></li>
                            <li>
                                <div class="blogresend">
                                    <ul id=ajaxAppend>
                                        <li  class="dot"></li>
                                        $LetterCommentList$
                                    </ul>
                                </div>
                            </li>
                        </ul>
                        <form action="javascript:AppendHtmlAjax('ajaxAppend','/Letter/AddComment.ashx?LetterID='+$LetterID$+'&commentcontent='+escape($('#commentcontent').val()));">
                        <ul class="sblog">
                            <h5>回复</h5>
                            <li><textarea id="commentcontent"></textarea></li>
                            <li><a id="getFace"><img src="/images/face/c.gif" alt="表情" /></a><input class="input_btn_s" value="确定发表" type="submit"/></li>
                        </ul>
                        </form>
                    </div>
                </li>
                <h6></h6>
            </ul>
        </div> 
    </div>
    <div class="Clear"></div>
    $Footer$
    <div class="face"><iframe frameborder="0" scrolling="no"></iframe>
    	<h5><img id="closeFace" src="/images/close.gif" alt="关闭" />选择您喜欢的表情</h5>
        <ul>
            $FaceList$
        </ul>
    </div>
</body>
</html>